/*
 *
 * UserMapper.java
 * Copyright(C) 2017-2020 fendo公司
 * @date 2020-04-28
 */
package com.example.demo.mapper;

import com.example.demo.dbo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    /**
     * @mbg.generated 2020-04-28
     */
    int deleteByPrimaryKey(String userId);

    /**
     * @mbg.generated 2020-04-28
     */
    int insert(User record);

    /**
     * @mbg.generated 2020-04-28
     */
    User selectByPrimaryKey(String userId);

    /**
     * @mbg.generated 2020-04-28
     */
    List<User> selectAll();

    /**
     * @mbg.generated 2020-04-28
     */
    int updateByPrimaryKey(User record);
}